import Vue from 'vue'
import App from './App.vue'

//配置路由环境
import router from "./router/router";

//配置vuex环境
import store from "./store/store"

//引入mock
import "mock/mock"
//引入nprograss环境的样式文件 在axios的拦截器中引入js文件
import "nprogress/nprogress.css"

//将typeNav注册为全局组件
import typeNav from "components/typeNav/typeNav";
Vue.component("typeNav",typeNav)

Vue.config.productionTip = false;


new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
